/*
 * XML Type:  named-native-query
 * Namespace: http://java.sun.com/xml/ns/persistence/orm
 * Java type: com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery
 *
 * Automatically generated - do not modify.
 */
package com.googlecode.horncomb.orm.jpa.v10.xmlbeans;


/**
 * An XML named-native-query(@http://java.sun.com/xml/ns/persistence/orm).
 *
 * This is a complex type.
 */
public interface NamedNativeQuery extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(NamedNativeQuery.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5B4C45932D2FDE7154D0A2FFEBD94B1B").resolveHandle("namednativequerybc63type");
    
    /**
     * Gets the "query" element
     */
    java.lang.String getQuery();
    
    /**
     * Gets (as xml) the "query" element
     */
    org.apache.xmlbeans.XmlString xgetQuery();
    
    /**
     * Sets the "query" element
     */
    void setQuery(java.lang.String query);
    
    /**
     * Sets (as xml) the "query" element
     */
    void xsetQuery(org.apache.xmlbeans.XmlString query);
    
    /**
     * Gets a List of "hint" elements
     */
    java.util.List<com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint> getHintList();
    
    /**
     * Gets array of all "hint" elements
     * @deprecated
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint[] getHintArray();
    
    /**
     * Gets ith "hint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint getHintArray(int i);
    
    /**
     * Returns number of "hint" element
     */
    int sizeOfHintArray();
    
    /**
     * Sets array of all "hint" element
     */
    void setHintArray(com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint[] hintArray);
    
    /**
     * Sets ith "hint" element
     */
    void setHintArray(int i, com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint hint);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "hint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint insertNewHint(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "hint" element
     */
    com.googlecode.horncomb.orm.jpa.v10.xmlbeans.QueryHint addNewHint();
    
    /**
     * Removes the ith "hint" element
     */
    void removeHint(int i);
    
    /**
     * Gets the "name" attribute
     */
    java.lang.String getName();
    
    /**
     * Gets (as xml) the "name" attribute
     */
    org.apache.xmlbeans.XmlString xgetName();
    
    /**
     * Sets the "name" attribute
     */
    void setName(java.lang.String name);
    
    /**
     * Sets (as xml) the "name" attribute
     */
    void xsetName(org.apache.xmlbeans.XmlString name);
    
    /**
     * Gets the "result-class" attribute
     */
    java.lang.String getResultClass();
    
    /**
     * Gets (as xml) the "result-class" attribute
     */
    org.apache.xmlbeans.XmlString xgetResultClass();
    
    /**
     * True if has "result-class" attribute
     */
    boolean isSetResultClass();
    
    /**
     * Sets the "result-class" attribute
     */
    void setResultClass(java.lang.String resultClass);
    
    /**
     * Sets (as xml) the "result-class" attribute
     */
    void xsetResultClass(org.apache.xmlbeans.XmlString resultClass);
    
    /**
     * Unsets the "result-class" attribute
     */
    void unsetResultClass();
    
    /**
     * Gets the "result-set-mapping" attribute
     */
    java.lang.String getResultSetMapping();
    
    /**
     * Gets (as xml) the "result-set-mapping" attribute
     */
    org.apache.xmlbeans.XmlString xgetResultSetMapping();
    
    /**
     * True if has "result-set-mapping" attribute
     */
    boolean isSetResultSetMapping();
    
    /**
     * Sets the "result-set-mapping" attribute
     */
    void setResultSetMapping(java.lang.String resultSetMapping);
    
    /**
     * Sets (as xml) the "result-set-mapping" attribute
     */
    void xsetResultSetMapping(org.apache.xmlbeans.XmlString resultSetMapping);
    
    /**
     * Unsets the "result-set-mapping" attribute
     */
    void unsetResultSetMapping();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery newInstance() {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.googlecode.horncomb.orm.jpa.v10.xmlbeans.NamedNativeQuery) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
